package com.frxuexi.park2209.adapter

import android.content.Intent
import android.widget.TextView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.frxuexi.base.entity.ParkListItem
import com.frxuexi.park2209.R
import com.frxuexi.park2209.repair.RepairDetailActivity

class ParkAdapter:BaseQuickAdapter<ParkListItem,BaseViewHolder>(R.layout.item_park) {
    override fun convert(helper: BaseViewHolder, item: ParkListItem) {
        helper.setText(R.id.park_id,"车位id:${item.parkId}")
        helper.setText(R.id.park_name,"车位名称:${item.parkName}")
        helper.setText(R.id.park_time,"时间:${item.parkTime}")

    }
}